package com.neoCalf.neoCommon.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * Description 最新会话表
 * date 2024-10-06 11:39:18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("chat_session")
public class ChatSession implements Serializable {
    /**
     * 会话ID
     */
    @TableId(value = "session_id")
    private String sessionId;
    /**
     * 最后接收的消息
     */
    private String lastMessage;
    /**
     * 最后接收消息时间 单位: ms
     */
    private Long lastReceiveTime;
}